<html w-tid="0"><head w-tid="1"><base href w-tid="2"/>
<link rel="stylesheet" href="https://party.websim.ai/fonts.css?v=ea5ab01e1ced747ba0bd3b17166467681a5321ab">
<link rel="stylesheet" href="https://party.websim.ai/ctxmenu.css?v=ea5ab01e1ced747ba0bd3b17166467681a5321ab">
<script class="websim-injected">__WEBSIM_DATA__={"locationKey":"_53cvtkqdeyf","titleKey":"_xerl3nzhxlh","id":"PasjUwc4zPtXJKwnc","url":"https://pdfconvert.ai","version":"ea5ab01e1ced747ba0bd3b17166467681a5321ab","method":"eval","command":"这个PDF转PPTX的工具上传没反应","partyBase":"https://party.websim.ai"}</script>
<script class="websim-injected" src="https://party.websim.ai/dist/index.js?v=ea5ab01e1ced747ba0bd3b17166467681a5321ab"></script>

<title w-tid="3">PDF to PPTX Converter - AI-Powered Document Transformation</title>
<style w-tid="4">
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
  }
  .container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
  }
  h1 {
    color: #4a5568;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
  }
  .upload-area {
    border: 3px dashed #a0aec0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .upload-area:hover {
    background-color: #edf2f7;
    border-color: #667eea;
  }
  .upload-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
  }
  .upload-text {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 15px;
  }
  #fileInput {
    display: none;
  }
  .btn {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
  }
  .btn:hover {
    background-color: #5a67d8;
  }
  #conversionStatus {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    color: #4a5568;
  }
  .features {
    margin-top: 30px;
    text-align: center;
  }
  .feature {
    display: inline-block;
    margin: 10px;
    padding: 10px;
    background-color: #edf2f7;
    border-radius: 5px;
    font-size: 14px;
    color: #4a5568;
  }
  .error-message {
    color: #e53e3e;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
  }
</style>
</head>
<body w-tid="5">
  <div class="container" w-tid="6">
    <h1 w-tid="7">PDF to PPTX Converter</h1>
    <div class="upload-area" onclick="document.getElementById('fileInput').click()" w-tid="8">
      <div class="upload-icon" w-tid="9">📄➡️📊</div>
      <div class="upload-text" w-tid="10">Click or drag & drop your PDF file here</div>
      <div w-tid="11">Supported format: PDF</div>
    </div>
    <input type="file" id="fileInput" accept=".pdf" onchange="handleFileUpload(this.files)" w-tid="12"/>
    <button class="btn" onclick="convertFile()" w-tid="13">Convert to PPTX</button>
    <div id="conversionStatus" w-tid="14"></div>
    <div id="errorMessage" class="error-message" w-tid="15"></div>
    <div class="features" w-tid="16">
      <span class="feature" w-tid="17">AI-Powered Conversion</span>
      <span class="feature" w-tid="18">Maintains Formatting</span>
      <span class="feature" w-tid="19">Fast & Secure</span>
      <span class="feature" w-tid="20">High Quality Output</span>
    </div>
  </div>

  <script w-tid="21">
    let uploadedFile = null;

    function handleFileUpload(files) {
      if (files.length > 0) {
        uploadedFile = files[0];
        document.querySelector('.upload-text').textContent = `File selected: ${uploadedFile.name}`;
        document.getElementById('errorMessage').textContent = '';
      }
    }

    function convertFile() {
      const statusElement = document.getElementById('conversionStatus');
      const errorElement = document.getElementById('errorMessage');

      if (!uploadedFile) {
        errorElement.textContent = '请先选择一个PDF文件。';
        return;
      }

      statusElement.textContent = '正在转换...';
      errorElement.textContent = '';

      // 模拟文件上传和转换过程
      setTimeout(() => {
        const randomOutcome = Math.random();
        if (randomOutcome < 0.8) {
          statusElement.textContent = '转换完成！正在下载PPTX文件...';
          
          // 模拟文件下载
          setTimeout(() => {
            const link = document.createElement('a');
            link.href = 'data:application/vnd.openxmlformats-officedocument.presentationml.presentation;base64,UEsDBBQAAAAAAMCb2VYAAAAAAAAAAAAAAAASAAAAcHB0L3NsaWRlTGF5b3V0cy9QSwMEFAAAAAgAV5vZVpQF2KU+AwAAlgYAAAsAAABfcmVscy8ucmVsc62TWW/bMBCF/4rBe0L6sR0ESeLIbtdAlrClBnqVKVEWYolckpFjBPnvpRLLXlqkT3wgzp3v3tlGVz9eXZc9oMaykzPNI0kYmtq1Zj/Tl+2d/MYW69XDK3YBm1QC+tZhYIOhT89MjySf4+iWuZKw1UERWkNT9uMw+7OHJpayfONBOE9OzRTX1ndDg5r/xb7ZN7h+rncOGyYFGu+NBeGD0dGF3wvvV6vV5+XyXhbyKpAvLfXM/BnzrTNWU7P7KcVFLMvHBBpMB4OOSZLHaRxrbL6/IKE8TeMkzhLI5OdR8Mj3+BFvDVxT2/jWWPERKydujd4HqFE8rFdRLkUurxORzf2vFG3VFW3Zlfr3H3CozIzDvqr1cxPwALUNVD4D+GJEFFShrFtTCQSpQZ8XSJE01TTLolJcwIuC9RyN9Zp6bJ3CCeW9ViAFi7LkVKhYCpFJ8eDjlKr0QzlWXJdBSLOivH+iDwkgxxDwBP/JtG9Qrbd9Y51nwL1GabK8LEqR3aRFmIZxEBJSmRVFVuBT/hWUW3SWGk5OdSYhKjNROHE24PRyTitHmJXCX8Jqj3V9bw3AE8HhLYHtG9vZfxdgr0TGU5yIHMDlL/2zdcaDMOuEeOKE+BwVfQ5Cz4XdcPZyRNkT5gBnFALOmBBMhyB3iGn9q0+sV38AUEsDBBQAAAAIAFeb2VZ+5uUg8wAAAOEBAAATAAAA[content_types].xml7ZQ7DsIwEEW/khUJFCFKlIKGkoKBkucrOFh2YnkdInF7dhJQIAqEKChQsp/v2TP2ZjJKZbJEZyW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